package com.niit.springbootshop.service;

import com.niit.springbootshop.entity.Orderitem;
import com.niit.springbootshop.entity.Orders;

public interface OrderService {

    /**
     * 添加订单信息
     * @param orders
     * @return
     */
    public int insertOrders(Orders orders);

    /**
     * 添加订单Item信息
     * @param orderItem
     * @return
     */
    public int insertOrderItem(Orderitem orderItem);
}
